package com.sxz.sbs.module.order.mode;


import java.util.ArrayList;
import java.util.List;

/**
 * @author tian
 * @date 2018/1/22 0022
 */

public class OrderhandleBean {

    /**
     * lastPage : true
     * pageSize : 10
     * pageNumber : 1
     * firstPage : true
     * list : [{"txt_Name":"","Number":"","statusStr":"已付定金","DealStatus":0,"DealPrice":85000,"Title":"出售 领城公园1857 13平米 ","Name":"领城公园1857 ","Status":1,"PayUserName":"Hi先生","tempcolumn":0,"ParkingId":3354,"Discount":[{"textColor":"00CAA3","title":"可分期","backColor":"e5faf6"},{"textColor":"EA5544","title":"交3000抵10000","backColor":"fdeeec"}],"Id":365,"PhotoUrl":"http://91tcw.cn/upload/201710/24/201710241536599228.jpg","HandleStatus":0,"PayUserPhone":"18737141800 ","AdvanceMoney":2000,"temprownumber":1}]
     * totalRow : 1
     * totalPage : 1
     */

    private boolean lastPage;
    private int pageSize;
    private int pageNumber;
    private boolean firstPage;
    private int totalRow;
    private int totalPage;
    private List<ListBean> list;

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * txt_Name :
         * Number :
         * statusStr : 已付定金
         * DealStatus : 0
         * DealPrice : 85000
         * Title : 出售 领城公园1857 13平米
         * Name : 领城公园1857
         * Status : 1
         * PayUserName : Hi先生
         * tempcolumn : 0
         * ParkingId : 3354
         * Discount : [{"textColor":"00CAA3","title":"可分期","backColor":"e5faf6"},{"textColor":"EA5544","title":"交3000抵10000","backColor":"fdeeec"}]
         * Id : 365
         * PhotoUrl : http://91tcw.cn/upload/201710/24/201710241536599228.jpg
         * HandleStatus : 0
         * PayUserPhone : 18737141800
         * AdvanceMoney : 2000
         * temprownumber : 1
         */

        private String txt_Name;
        private String Number;
        private String statusStr;
        private int DealStatus;
        private int DealPrice;
        private String Title;
        private String Name;
        private int Status;
        private String PayUserName;
        private int tempcolumn;
        private int ParkingId;
        private int Id;
        private String PhotoUrl;
        private int HandleStatus;
        private String PayUserPhone;
        private int IsLeader;
        private int AdvanceMoney;
        private int temprownumber;
        private List<DiscountBean> Discount;
        private int AuditStatus;
        private List<PhotoList> protocolList;
        public int getAuditStatus() {
            return AuditStatus;
        }
        private String IsByStage;
        private String Remark;

        public String getRemark() {
            return Remark == null ? "" : Remark;
        }

        public String getIsByStage() {
            return IsByStage == null ? "" : IsByStage;
        }

        public static class PhotoList {

            /**
             * FileType : 0
             * PhotoUrl : http://91tcw.cn/upload/201711/18/201711181002192436.jpg
             * Id : 422
             */

            private int FileType;
            private String PhotoUrl;
            private int Id;

            public int getFileType() {
                return FileType;
            }

            public String getPhotoUrl() {
                return PhotoUrl == null ? "" : PhotoUrl;
            }

            public int getId() {
                return Id;
            }
        }

        public List<PhotoList> getProtocolList() {
            if (protocolList == null) {
                return new ArrayList<>();
            }
            return protocolList;
        }
        public int getIsLeader() {
            return IsLeader;
        }

        public void setIsLeader(int isLeader) {
            IsLeader = isLeader;
        }

        public String getTxt_Name() {
            return txt_Name;
        }

        public void setTxt_Name(String txt_Name) {
            this.txt_Name = txt_Name;
        }

        public String getNumber() {
            return Number;
        }

        public void setNumber(String Number) {
            this.Number = Number;
        }

        public String getStatusStr() {
            return statusStr;
        }

        public void setStatusStr(String statusStr) {
            this.statusStr = statusStr;
        }

        public int getDealStatus() {
            return DealStatus;
        }

        public void setDealStatus(int DealStatus) {
            this.DealStatus = DealStatus;
        }

        public int getDealPrice() {
            return DealPrice;
        }

        public void setDealPrice(int DealPrice) {
            this.DealPrice = DealPrice;
        }

        public String getTitle() {
            return Title;
        }

        public void setTitle(String Title) {
            this.Title = Title;
        }

        public String getName() {
            return Name;
        }

        public void setName(String Name) {
            this.Name = Name;
        }

        public int getStatus() {
            return Status;
        }

        public void setStatus(int Status) {
            this.Status = Status;
        }

        public String getPayUserName() {
            return PayUserName;
        }

        public void setPayUserName(String PayUserName) {
            this.PayUserName = PayUserName;
        }

        public int getTempcolumn() {
            return tempcolumn;
        }

        public void setTempcolumn(int tempcolumn) {
            this.tempcolumn = tempcolumn;
        }

        public int getParkingId() {
            return ParkingId;
        }

        public void setParkingId(int ParkingId) {
            this.ParkingId = ParkingId;
        }

        public int getId() {
            return Id;
        }

        public void setId(int Id) {
            this.Id = Id;
        }

        public String getPhotoUrl() {
            return PhotoUrl;
        }

        public void setPhotoUrl(String PhotoUrl) {
            this.PhotoUrl = PhotoUrl;
        }

        public int getHandleStatus() {
            return HandleStatus;
        }

        public void setHandleStatus(int HandleStatus) {
            this.HandleStatus = HandleStatus;
        }

        public String getPayUserPhone() {
            return PayUserPhone;
        }

        public void setPayUserPhone(String PayUserPhone) {
            this.PayUserPhone = PayUserPhone;
        }

        public int getAdvanceMoney() {
            return AdvanceMoney;
        }

        public void setAdvanceMoney(int AdvanceMoney) {
            this.AdvanceMoney = AdvanceMoney;
        }

        public int getTemprownumber() {
            return temprownumber;
        }

        public void setTemprownumber(int temprownumber) {
            this.temprownumber = temprownumber;
        }

        public List<DiscountBean> getDiscount() {
            return Discount;
        }

        public void setDiscount(List<DiscountBean> Discount) {
            this.Discount = Discount;
        }

        public static class DiscountBean {
            /**
             * textColor : 00CAA3
             * title : 可分期
             * backColor : e5faf6
             */

            private String textColor;
            private String title;
            private String backColor;

            public String getTextColor() {
                return textColor;
            }

            public void setTextColor(String textColor) {
                this.textColor = textColor;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getBackColor() {
                return backColor;
            }

            public void setBackColor(String backColor) {
                this.backColor = backColor;
            }
        }
    }
}
